package cn.yh.action;

import cn.yh.biz.AdminBiz;

public class DelAdminAction extends BaseAction {
	private int aid;
	
	public String execute(){
		AdminBiz ab = new AdminBiz();
		int flag = ab.delAdmin(aid);
		if(flag>0){
			return "success";
		}	
		return "fail";
	}
	

	public int getAid() {
		return aid;
	}

	public void setAid(int aid) {
		this.aid = aid;
	}
}
